메인 콘텐츠로 건너뛰기
PATCH
/
allocations
Update an allocation
curl --request PATCH \
  --url https://your_a2_service/allocations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ext": {},
  "last_comment": "",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z"
}'
{
  "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ext": {},
  "last_comment": "",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

캠페인 개제 정보 변경 스키마

no
integer
required

캠페인 게재 정보 번호

owner_id
string<uuid>
required

캠페인 개제 정보를 생성한 계정의 id

status
enum<string>
required

캠페인의 지면 게재 상태

사용 가능한 옵션:
pending,
requested,
published,
rejected,
canceled,
finished
tagid
string<uuid>
required

캠페인을 개제할 지면의 id

cid
string<uuid> | null

지면에 개제할 캠페인의 id

created_at
string<date-time> | null

생성 일시

crid
string<uuid> | null
deprecated
ext
object
last_comment
string
default:""

캠페인 게재 승인 과정에서 리테일러에 의해 작성된 가장 최근 의견

updated_at
string<date-time> | null

변경 일시

Response

Successful Response

캠페인 개제 정보 조회 스키마

no
integer
required

캠페인 게재 정보 번호

owner_id
string<uuid>
required

캠페인 개제 정보를 생성한 계정의 id

status
string
required

캠페인의 현재 개제 상태 (pending, published, rejected 등)

tagid
string<uuid>
required

캠페인을 개제할 지면의 id

cid
string<uuid> | null

지면에 게재할 캠페인의 id

created_at
string<date-time> | null

생성 일시

crid
string<uuid> | null
deprecated
ext
object
last_comment
string
default:""

캠페인 게재 승인 과정에서 리테일러에 의해 작성된 가장 최근 의견

updated_at
string<date-time> | null

변경 일시